package com.jboa.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Tmenu entity. @author MyEclipse Persistence Tools
 */

public class Tmenu implements java.io.Serializable {

	// Fields

	private String id;
	private Tmenu tmenu;
	private String text;
	private String url;
	private String icon;
	private Set tmenus = new HashSet(0);
	private Set authorities = new HashSet(0);

	// Constructors

	/** default constructor */
	public Tmenu() {
	}

	/** minimal constructor */
	public Tmenu(String id, String text, String url) {
		this.id = id;
		this.text = text;
		this.url = url;
	}

	/** full constructor */
	public Tmenu(String id, Tmenu tmenu, String text, String url, String icon,
			Set tmenus, Set authorities) {
		this.id = id;
		this.tmenu = tmenu;
		this.text = text;
		this.url = url;
		this.icon = icon;
		this.tmenus = tmenus;
		this.authorities = authorities;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Tmenu getTmenu() {
		return this.tmenu;
	}

	public void setTmenu(Tmenu tmenu) {
		this.tmenu = tmenu;
	}

	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getIcon() {
		return this.icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Set getTmenus() {
		return this.tmenus;
	}

	public void setTmenus(Set tmenus) {
		this.tmenus = tmenus;
	}

	public Set getAuthorities() {
		return this.authorities;
	}

	public void setAuthorities(Set authorities) {
		this.authorities = authorities;
	}

}